package com.wanmait.demo.pojo;

import java.io.Serializable;
import java.util.Date;

public class Notice implements Serializable {
    private Integer id;

    /**
	* 内容
	*/
    private String content;

    /**
	* 标题
	*/
    private String title;

    /**
	* 发布人id
	*/
    private Integer adminId;

    /**
	* 发布时间
	*/
    private Date inputTime;

    /**
	* 阅读次数
	*/
    private Integer readCount;

    /**
	* 状态
	*/
    private Boolean enble;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public Boolean getEnble() {
        return enble;
    }

    public void setEnble(Boolean enble) {
        this.enble = enble;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", content=").append(content);
        sb.append(", title=").append(title);
        sb.append(", adminId=").append(adminId);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", readCount=").append(readCount);
        sb.append(", enble=").append(enble);
        sb.append("]");
        return sb.toString();
    }
}